package com.autumn.sms.service.services.dto.input;

import com.autumn.validation.constraints.NotNullOrBlank;

import io.swagger.annotations.ApiModelProperty;

/**
 *标准 模板参数输入
 * @author JuWa ▪ Zhang
 * @date 2018年1月17日
 * @since jdk 1.8
 */
public class StandardTemplateParameterInput {
	@ApiModelProperty(value = "标准模板参数名", required = true)
	@NotNullOrBlank(message = "标准模板参数名不能为空或空字符串")
	private String name;
	@ApiModelProperty(value = "标准模板参数友好名", required = true)
	@NotNullOrBlank(message = "标准模板参数友好名不能为空或空字符串")
	private String friendlyName;
	@ApiModelProperty(value = "是否必须")
	private boolean isMust;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFriendlyName() {
		return friendlyName;
	}
	public void setFriendlyName(String friendlyName) {
		this.friendlyName = friendlyName;
	}
	public boolean getIsMust() {
		return isMust;
	}
	public void setIsMust(boolean isMust) {
		this.isMust = isMust;
	}
}
